package com.tm.model;

import java.math.BigDecimal;

public class EcIncomeDetail {
    private Integer incomeDetailId;

    private Integer memberInfoId;

    private String incomeType;

    private BigDecimal incomeMoney;

    private String isDelete;

    private String addTime;

    private Integer addUserId;

    private String editTime;

    private Integer editUserId;

    public Integer getIncomeDetailId() {
        return incomeDetailId;
    }

    public void setIncomeDetailId(Integer incomeDetailId) {
        this.incomeDetailId = incomeDetailId;
    }

    public Integer getMemberInfoId() {
        return memberInfoId;
    }

    public void setMemberInfoId(Integer memberInfoId) {
        this.memberInfoId = memberInfoId;
    }

    public String getIncomeType() {
        return incomeType;
    }

    public void setIncomeType(String incomeType) {
        this.incomeType = incomeType;
    }

    public BigDecimal getIncomeMoney() {
        return incomeMoney;
    }

    public void setIncomeMoney(BigDecimal incomeMoney) {
        this.incomeMoney = incomeMoney;
    }

    public String getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(String isDelete) {
        this.isDelete = isDelete;
    }

    public String getAddTime() {
        return addTime;
    }

    public void setAddTime(String addTime) {
        this.addTime = addTime;
    }

    public Integer getAddUserId() {
        return addUserId;
    }

    public void setAddUserId(Integer addUserId) {
        this.addUserId = addUserId;
    }

    public String getEditTime() {
        return editTime;
    }

    public void setEditTime(String editTime) {
        this.editTime = editTime;
    }

    public Integer getEditUserId() {
        return editUserId;
    }

    public void setEditUserId(Integer editUserId) {
        this.editUserId = editUserId;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        EcIncomeDetail other = (EcIncomeDetail) that;
        return (this.getIncomeDetailId() == null ? other.getIncomeDetailId() == null : this.getIncomeDetailId().equals(other.getIncomeDetailId()))
            && (this.getMemberInfoId() == null ? other.getMemberInfoId() == null : this.getMemberInfoId().equals(other.getMemberInfoId()))
            && (this.getIncomeType() == null ? other.getIncomeType() == null : this.getIncomeType().equals(other.getIncomeType()))
            && (this.getIncomeMoney() == null ? other.getIncomeMoney() == null : this.getIncomeMoney().equals(other.getIncomeMoney()))
            && (this.getIsDelete() == null ? other.getIsDelete() == null : this.getIsDelete().equals(other.getIsDelete()))
            && (this.getAddTime() == null ? other.getAddTime() == null : this.getAddTime().equals(other.getAddTime()))
            && (this.getAddUserId() == null ? other.getAddUserId() == null : this.getAddUserId().equals(other.getAddUserId()))
            && (this.getEditTime() == null ? other.getEditTime() == null : this.getEditTime().equals(other.getEditTime()))
            && (this.getEditUserId() == null ? other.getEditUserId() == null : this.getEditUserId().equals(other.getEditUserId()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getIncomeDetailId() == null) ? 0 : getIncomeDetailId().hashCode());
        result = prime * result + ((getMemberInfoId() == null) ? 0 : getMemberInfoId().hashCode());
        result = prime * result + ((getIncomeType() == null) ? 0 : getIncomeType().hashCode());
        result = prime * result + ((getIncomeMoney() == null) ? 0 : getIncomeMoney().hashCode());
        result = prime * result + ((getIsDelete() == null) ? 0 : getIsDelete().hashCode());
        result = prime * result + ((getAddTime() == null) ? 0 : getAddTime().hashCode());
        result = prime * result + ((getAddUserId() == null) ? 0 : getAddUserId().hashCode());
        result = prime * result + ((getEditTime() == null) ? 0 : getEditTime().hashCode());
        result = prime * result + ((getEditUserId() == null) ? 0 : getEditUserId().hashCode());
        return result;
    }
}